import request from '@/utils/request'

// 分类页面：
// 获取-二级分类列表
export const getTowCategoryListService = (id) => request.get('/category', { params: { id } })
// 获取-二级分类列表数据
export const getSubCategoryService = (id) =>
  request.get('/category/sub/filter', {
    params: {
      id,
    },
  })
// 分类基础列表实现
export const getCategoryBaseListService = (data) => request.post('/category/goods/temporary', data)
